<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	ListBox Samples
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>ListBox Samples</h2>

    <%= Html.ListBox("Books", null, new { size=3 })%><br />
    <%= Html.ListBox("SelectedBook",
                (IEnumerable<SelectListItem>)ViewData["BookList"])%>

</asp:Content>
